<?php
	class News{
		private $id;
		private $id_section;
		private $news_date;
		private $description_short;
		private $description_long;
		
		public function __construct($id=null,
									$id_section=null,
									$news_date=null,
									$description_short=null,
									$description_long=null){
			$this->id = $id;
			$this->id_section = $id_section;
			$this->news_date = $news_date;
			$this->description_short = $description_short;
			$this->description_long = $description_long;
		}
		
		//GETTERS
		public function getId(){return $this->id;}
		public function getIdSection(){return $this->id_section;}
		public function getNewsDate(){return $this->news_date;}
		public function getDescriptionShort(){return $this->description_short;}
		public function getDescriptionLong(){return $this->description_long;}
		
		//SETTERS
		public function setId($id){$this->id = $id;}
		public function setIdSection($id_section){$this->id_section = $id_section;}
		public function setNewsDate($news_date){$this->news_date = $news_date;}
		public function setDescriptionShort($description_short){$this->description_short = $description_short;}
		public function setDescriptionLong($description_long){$this->description_long = $description_long;}
		
	}
?>